package com.timebank.volunteer.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 签到
 * @author shiliuyinzhen
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class VolunteerSignDTO {

    /** 志愿服务id */
    private Long volunteerId;

    /** 签到开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", shape = JsonFormat.Shape.STRING)
    private LocalDateTime signBeginTime;

    /** 签到结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", shape = JsonFormat.Shape.STRING)
    private LocalDateTime signEndTime;
}
